package edu.wit.acl.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("acl_role_capacity")
public class RoleCapacity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色项目关联id")
    @TableId(value = "id")
    private String id;

    @ApiModelProperty(value = "角色id")
    private String roleId;

    @ApiModelProperty(value = "管理员用户数量")
    private int manageNum;


    @ApiModelProperty(value = "工人用户数量")
    private int workerNum;

}
